unit UserAdd;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, DBGrids, DBCtrls, StdCtrls, ExtCtrls, Mask,DefaultForm;

type
  TForm6 = class(TForm5)
    DBGrid1: TDBGrid;
    DBEdit1: TDBEdit;
    DBEdit2: TDBEdit;
    DBNavigator1: TDBNavigator;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    DBLookupComboBox1: TDBLookupComboBox;
    Edit1: TEdit;
    procedure Edit1Change(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form6: TForm6;

implementation

uses DataModule,umd5;


{$R *.dfm}

procedure TForm6.Edit1Change(Sender: TObject);
begin
  inherited;
    if length(edit1.Text)>0 then
        dbedit2.Text:=md5(edit1.Text)
    else
        dbedit2.Clear;
end;

end.
